package com.xxx.system.service;


import com.xxx.system.domain.Role;
import com.xxx.system.query.RoleQuery;

import java.util.List;

public interface IRoleService {
    //新增
    void addRole(Role role);
    //修改
    void updateRole(Role role);
    //删除
    void deteleById(Long id);
    //查询单个
    Role findOne(Long id);
    //查询所有
    List<Role> findAll();

    List<Role> queryPage(RoleQuery roleQuery);

    void deleteRoleByIds(Long[] ids);
}
